﻿using MediatR;
using Order.Api.Read.Dto.Order;
using Order.ErrorCode;

namespace Order.Api.Read.Application.Command
{
    /// <summary>
    /// 药品订单分页查询命令
    /// </summary>
    public class DrugOrdersPageCommand : IRequest<ApiPageIng<DrugOrdersPageDto>>
    {
        /// <summary>
        /// 查询条件
        /// </summary>
        public DrugOrdersQueryDto Query { get; set; } = new DrugOrdersQueryDto();
    }

    /// <summary>
    /// 药品订单详情查询命令
    /// </summary>
    public class DrugOrdersDetailCommand : IRequest<DrugOrdersDetailDto>
    {
        /// <summary>
        /// 药品订单ID
        /// </summary>
        public int Id { get; set; }
    }
}
